<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Controller基础类
 * 所有应用级Controller类均继承于此
 */
class MY_Controller extends CI_Controller {

    public function __construct()
	{
		parent::__construct();
		$this->_setPubVars();
		$this->_checkPermisson();
	}
	
	/**
	 * 设置公用变量
	 */
	private  function _setPubVars(){
		$this->config->load('bs_config');		
	}
	
	/**
	 * 检查权限
	 */
	private function _checkPermisson(){
		
	}
}